package cn.edu.scau.cmi.linyiling.composite.safe;

public class SafeLeaf implements SafeComponent {
	private String name;
	
	public SafeLeaf(String a) {
		this.name = a;
	}
	
	@Override
	public String doSomething() {
		return this.name;
	}

}